package com.mchat.user.domain.mapper;


import com.mchat.user.domain.vo.CurrentUserVo;
import com.mchat.user.domain.vo.UserVO;
import com.mchat.user.domain.po.User;
import com.mchat.user.domain.vo.LoginUserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserMapper {
    UserMapper INSTANCE = Mappers.getMapper(UserMapper.class);

    UserVO PO2VO(User user);
    LoginUserVO PO2LoginUserVO(User user);
    CurrentUserVo PO2CurrentUserVO(User user);
}
